package com.mycompany.j2eem.Entity.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * @author wurj
 * @time 2019/4/23 14:22
 * @description
 */
public class UserBean {
    Integer integer;
    String phoneNum;
    String userId;
    String nickName;
    List<String> likeId=new ArrayList<>();
    List<String> tagId=new ArrayList<>();

    public UserBean(Integer integer, String userId, String nickName) {
        this.integer = integer;
        this.userId = userId;
        this.nickName = nickName;
    }

    public UserBean(Integer integer, String userId) {
        this.integer = integer;
        this.userId = userId;
    }

    public UserBean(String phoneNum, String userId, String nickName) {
        this.phoneNum = phoneNum;
        this.userId = userId;
        this.nickName = nickName;
    }

    public void addLikePic(String pic){
        this.likeId.add(pic);
    }

    public void addLikeTag(String tag){this.tagId.add(tag);}

    public UserBean(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public List<String> getLikeId() {
        return likeId;
    }

    public void setLikeId(List<String> likeId) {
        this.likeId = likeId;
    }

    public List<String> getTagId() {
        return tagId;
    }

    public void setTagId(List<String> tagId) {
        this.tagId = tagId;
    }

    public Integer getInteger() {
        return integer;
    }

    public void setInteger(Integer integer) {
        this.integer = integer;
    }
}
